<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
    <title>Add New ADPE Account</title>

</head>

<body>
<rad:useBean id="draViewHelper"/>
<div id="portal-left-bar">
    <jsp:include page="../../navigation/navigationMenu.jsp"/>
</div>

<div id="portal-content">
<portal:box title="Add Account" style="width: 800px">
    <s:form action="create">
        <s:select name="dra" label="DRA" list="draList" listKey="draId" listValue="draName" headerKey="0" headerValue="DRA" />
        <s:textfield name="accountName" label="Account Name" />
    </s:form>
<%--    <html:form method="post" action="adpeAccountAction.do?method=createAdpeAccount">
        <p><label for="draId">DRA</label><html:select property="draId">
            <html:optionsCollection name="draViewHelper"
                                    property="all"
                                    filter="false"
                                    label="name"
                                    value="id"/>
        </html:select></p>
        <p><label for="accountName">Account Name</label><html:text property="accountName" /></p>
        <p><html:submit title="Create ADPE Account" value="Create Account"/></p>
    </html:form>--%>
</portal:box>
    </div>
</body>
</html>